package Presentacion;
import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;


public class VentanaMenu extends JFrame {

	private JPanel contentPane;
	private JButton btnVerHorarios;
	private JButton btnVerAsignaturas;
	private JButton btnVerAsistencia;
	private JButton btnNewButton;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					VentanaMenu frame = new VentanaMenu();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public VentanaMenu() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		{
			btnVerHorarios = new JButton("Ver horarios");
			btnVerHorarios.setBounds(150, 56, 150, 23);
			btnVerHorarios.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0) {
					VerHorarios VH = new VerHorarios();		
				}
			});
			contentPane.add(btnVerHorarios);
		}
		{
			btnVerAsignaturas = new JButton("Ver asignaturas");
			btnVerAsignaturas.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0) {
					VerListaAsignaturas lA=new VerListaAsignaturas();		
				}
			});
			btnVerAsignaturas.setBounds(150, 90, 150, 23);
			contentPane.add(btnVerAsignaturas);
		}
		{
			btnVerAsistencia = new JButton("Ver asistencia");
			btnVerAsistencia.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent arg0) {
					VerAsistencia VA=new VerAsistencia();		
				}
			});
			btnVerAsistencia.setBounds(150, 124, 150, 23);
			contentPane.add(btnVerAsistencia);
		}
		{
			btnNewButton = new JButton("Salir");
			btnNewButton.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent e) {
					System.exit(0);
				}
			});
			btnNewButton.setBounds(150, 228, 150, 23);
			contentPane.add(btnNewButton);
		}
	}
}
